package com.atguigu.gulimall.seckill.service;

import com.atguigu.gulimall.seckill.to.SecKillSkuRedisTo;

import java.util.List;

/**
 * @ClassName SeckillService
 * @Description TODO
 * @Detail detail
 * @Author MyPC
 * @Date 2020/7/27
 * @Version 1.0
 */
public interface SeckillService {

    void UploadSeckillSkuLatest3Days();


    List<SecKillSkuRedisTo> getCurrentSeckillSkus();

    SecKillSkuRedisTo getSkuSeckillInfo(Long skuId);

    String kill(String killId, String key, Integer num);
}
